#ifndef __mid_uart1_h__
#define __mid_uart1_h__

#include <stdint.h>

typedef union {
   uint32_t ms;
   uint8_t msByte[4];
} MsTick;

extern void UART_Init(void);
extern void UART0_Polling_Read(void);
extern uint8_t UART0_Write_Byte(uint8_t data);
extern void UART0_Write_Buf(uint8_t *buf, uint16_t bufLen);
extern void UART1_Polling_Read(void);
extern uint8_t UART1_Write_Byte(uint8_t data);
extern void LogString(char *str);
extern void LogBuf(uint8_t *buf, uint16_t bufLen);
#endif